package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Taxi {
    String com;//属于公司
    String seriailNo;//车牌号

    public Taxi(String com, String seriailNo) {
        this.com = com;
        this.seriailNo = seriailNo;
    }
    public void introduce(){
        System.out.println("这是属于"+com+"的出租车，车牌号是"+seriailNo);
    }
}
